Skip to content

Refactor logging to use parameterized messages#233

Merged
romani merged 1 commit intocheckstyle:mainfrom
ishasingh1505:refactor/optimize-logging
Jan 17, 2026
Merged

Refactor logging to use parameterized messages#233
romani merged 1 commit intocheckstyle:mainfrom
ishasingh1505:refactor/optimize-logging

Conversation

@ishasingh1505
Copy link
Contributor

This PR refactors logging statements to use parameterized SLF4J-style messages,
removing string concatenation and redundant exception message logging.

  • Updated LOGGER.warn to use {} placeholders
  • Simplified LOGGER.error to log exception directly

Related to #218

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanksa lot

@romani romani merged commit 2b54a60 into checkstyle:main Jan 17, 2026
3 checks passed
@ishasingh1505
Copy link
Contributor Author

Thanks for the review and merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants